/**
 * 路由设置 详细配置 参考 https://umijs.org/zh-CN/docs/routing
 **/

import { getSystemName } from '@/utils';

/**
 * @param {string}  title  标题
 * @param {string}  path   路径
 * @param {string}  component   组件位置
 * @param {boolean}  isHaveParams   如果路由传参  那么这个值就给true
 * */

const routes: any = [
  { path: '/login/:tenant', component: '@/layouts/UserLayout/index' },
  { path: '/404', component: '@/pages/404' },
  {
    path: '/',
    component: '@/layouts/BasicLayout/index',
    routes: [
      // {
      //   title: '合同首页',
      //   path: '/contractController/homePage',
      //   component: '@/pages/ContractController/ContractHomePage/mview/ContractHomePage',
      // },

      /*------------------------------------------公告管理 START---------------------------------------- */
      {
        title: '公告管理',
        path: '/announceController/manage',
        component: '@/pages/AnnounceManage/mview/ManageView',
      },
      {
        title: '编辑公告',
        path: '/announceController/edit/:random',
        component: '@/pages/AnnounceManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '添加公告',
        path: '/announceController/add/:random',
        component: '@/pages/AnnounceManage/mview/UpdateView',
      },
      {
        title: '公告详情',
        path: '/announceController/getAnnounceByID/:random',
        component: '@/pages/AnnounceManage/mview/DetailView',
        isHaveParams: true,
      },
      {
        title: '公告详情', //首页预览
        path: '/announceController/getIssueAnnounceList/:random',
        component: '@/pages/HomePage/HomeViews/HomeAnnounce/mview/AnnounceHomeView',
        isHaveParams: true,
      },
      /*------------------------------------------公告管理 END---------------------------------------- */

      /*------------------------------------------提醒 START---------------------------------------- */
      {
        title: '提醒管理', //提醒管理
        path: '/notifyController/manage',
        component: '@/pages/RemindManage/mview/RemindManageView',
      },
      /*------------------------------------------提醒 END---------------------------------------- */

      /*--------------------------------------工作流 START------------------------------------- */
      // {
      //   title: '委托管理',
      //   path: '/delegateController/manageTest',
      //   component: '@/pages/ActivitiManage/DelegateManage/mview/ManageView',
      // },
      {
        title: '流程设计',
        path: '/activitiController/modelManage',
        component: '@/pages/ActivitiManage/DesignManage/mview/ManageView',
      },
      {
        title: '设计流程',
        path: '/activitiController/modelDesign/{modelId}/:random',
        component: '@/pages/ActivitiManage/DesignManage/mview/ActivitiProcessCanvas',
      },
      {
        title: '流程发布',
        path: '/activitiController/procdefManage',
        component: '@/pages/ActivitiManage/ProcdefManage/mview/ManageView',
      },
      {
        title: '流程条件',
        path: '/activitiController/conditionManage',
        component: '@/pages/ActivitiManage/ConditionManage/mview/ManageView',
      },
      /*--------------------------------------工作流 END------------------------------------- */

      /* ---------------------------------------系统管理 START------------------------------ */
      {
        title: '组织管理',
        path: '/departmentController/manage',
        component: '@/pages/SystemController/DepartmentController/index',
      },
      {
        title: '岗位管理',
        path: '/positionController/manage',
        component: '@/pages/SystemController/PositionController/index',
      },
      {
        title: '主题管理',
        path: '/themeStyleController/manage',
        component: '@/pages/SystemController/ThemeController/index',
      },
      {
        title: '设计主题',
        path: '/themeStyleController/edit/:random',
        component: '@/pages/SystemController/ThemeController/components/ThemeUpdate/index',
        isHaveParams: true,
      },
      {
        title: '添加主题',
        path: '/themeStyleController/add',
        component: '@/pages/SystemController/ThemeController/components/ThemeUpdate/index',
      },
      {
        title: '字典管理',
        path: '/dictionaryTreeController/manager',
        component: '@/pages/SystemController/DictionaryTreeController/index',
      },
      {
        title: '资源管理',
        path: '/resourceController/manager',
        component: '@/pages/SystemController/ResourceController/index',
      },
      {
        title: '认证管理',
        path: '/clientController/manage',
        component: '@/pages/SystemController/AuthClientManage/mview/ManageView',
      },
      {
        title: '区域管理',
        path: '/areaNumController/manager',
        component: '@/pages/SystemController/AreaNumManage/mview/ManageView',
      },
      {
        title: '角色管理',
        path: '/roleController/manager',
        component: '@/pages/SystemController/RoleController/index',
      },
      {
        title: '角色授权',
        path: '/roleController/grant/:random',
        component: '@/pages/SystemController/RoleController/AuthorizationCompon/index',
        isHaveParams: true,
      },
      {
        title: '用户管理',
        path: '/userController/manager',
        component: '@/pages/SystemController/UserManageController/index',
      },
      {
        title: '个人中心',
        path: '/commonController/reloadSelfInfo',
        component: '@/components/GlobalHeader/components/PersonalSettings/PersonalCenter/mview/CenterView',
      },
      {
        title: '任务中心',
        path: '/commonController/manager',
        component: '@/pages/AssetManage/Fixedassetportal/mview/taskCenter',
      },
      {
        title: '版本管理',
        path: '/versionController/manage',
        component: '@/pages/SystemController/VersionManageController/mview/ManageView',
      },
      {
        title: '添加版本',
        path: '/versionController/add/:random',
        component: '@/pages/SystemController/VersionManageController/mview/UpdateView',
      },
      {
        title: '版本详情',
        path: '/versionController/getVersionByID/{id}/:random',
        component: '@/pages/SystemController/VersionManageController/mview/DetailView',
        isHaveParams: true,
      },
      {
        title: '系统日志',
        path: '/assetCount/deptRatio',
        component: '@/pages/SystemController/DeptRatioManage/mview/ManageView',
      },
      {
        title: '编辑版本',
        path: '/versionController/edit/:random',
        component: '@/pages/SystemController/VersionManageController/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '版本迭代',
        path: '/versionController/getVersionTypeList',
        component: '@/components/GlobalHeader/components/VersionController/mview/VersionView',
      },
      /* ---------------------------------------系统管理 END-------------------------------- */

      /* ---------------------------------------委托管理 START ------------------------------ */
      {
        title: '委托管理',
        path: '/delegateController/manage',
        component: '@/pages/ContractController/DelegateManage/mview/ManageView',
      },
      /* ---------------------------------------委托管理 END ------------------------------ */

      /* ---------------------------------------预警管理 START ------------------------------ */
      {
        title: '预警管理',
        path: '/warnController/manage',
        component: '@/pages/ContractController/WarnManage/mview/ManageView',
      },
      /* ---------------------------------------预警管理 END ------------------------------ */

      /* --------------------------------------- 合同管理 START ------------------------------ */
      {
        title: '草稿箱',
        path: '/contractController/draftManage',
        component: '@/pages/ContractController/ContractManage/mview/ManageView',
      },
      {
        title: '合同审批',
        path: '/contractController/carefulManage',
        component: '@/pages/ContractController/ContractManage/mview/ManageView',
      },
      {
        title: '合同履行',
        path: '/contractController/performManage',
        component: '@/pages/ContractController/ContractManage/mview/ManageView',
      },
      {
        title: '合同已归档',
        path: '/contractController/archivedManage',
        component: '@/pages/ContractController/ContractManage/mview/ManageView',
      },
      {
        title: '合同提醒',
        path: '/contractController/oversightManage',
        component: '@/pages/ContractController/ContractManage/mview/ManageView',
      },
      {
        title: '合同查询',
        path: '/contractController/allSearchManage',
        component: '@/pages/ContractController/ContractManage/mview/ManageView',
      },
      {
        title: '添加合同',
        path: '/contractController/add/:random',
        component: '@/pages/ContractController/ContractManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '补录合同',
        path: '/contractController/seal/:random',
        component: '@/pages/ContractController/ContractManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '编辑合同',
        path: '/contractController/edit/:random',
        component: '@/pages/ContractController/ContractManage/mview/UpdateView',
        isHaveParams: true,
      },
      // {
      //   title: '合同详情',
      //   path: '/contractController/getMcontractByID/:random',
      //   component: '@/pages/ContractController/ContractManage/mview/DetailView',
      //   isHaveParams: true,
      // },
      {
        title: '合同详情',
        path: '/contractController/getMcontractByID/:random',
        component: '@/pages/ContractController/ContractManage/mview/DetailInfoView',
        isHaveParams: true,
      },
      {
        title: '合同变更',
        path: '/contractController/modifyRouter/:random',
        component: '@/pages/ContractController/ContractManage/mview/ContractChangeView',
        isHaveParams: true,
      },
      {
        title: '合同解除',
        path: '/contractController/breakRouter/:random',
        component: '@/pages/ContractController/ContractManage/mview/ContractChangeView',
        isHaveParams: true,
      },
      {
        title: '合同范本',
        path: '/contractTemplateController/manage',
        component: '@/pages/ContractController/TemplateManage/mview/ManageView',
      },
      {
        title: '合同列表统计',
        path: '/contractReportController/scopeManage',
        component: '@/pages/ContractController/ContractAllCount/mview/ManageView',
      },
      {
        title: '合同汇总统计',
        path: '/contractReportController/allManage',
        component: '@/pages/ContractController/ContractAllCount/mview/AllCountManageView',
      },
      {
        title: '合同状态统计',
        path: '/contractReportController/stateManage',
        component: '@/pages/ContractController/ContractAllCount/mview/StateCountManageView',
      },
      {
        title: '合同相对方统计',
        path: '/contractReportController/oppositeManage',
        component: '@/pages/ContractController/ContractAllCount/mview/OppositeCountManageView',
      },
      {
        title: '合同任务',
        path: '/contractController/taskManage',
        component: '@/pages/ContractController/ContractCheckManage/mview/ManageView',
      },
      {
        title: '合同OA',
        path: '/contractController/taskDataGrid/{paramValue}/{params}/:random',
        component: '@/pages/ContractController/ContractManage/OAMview/DetailInfoViewOA',
        isHaveParams: true,
      },

      /* --------------------------------------- 合同管理 END ------------------------------ */

      /* --------------------------------------- 供应商管理 START ------------------------------ */
      {
        title: '供应商管理',
        path: '/supplierInfoController/manage',
        component: '@/pages/SupplierManage/mview/ManageView',
      },
      {
        title: '添加供应商',
        path: '/supplierInfoController/add/:random',
        component: '@/pages/SupplierManage/mview/UpdateView',
      },
      {
        title: '编辑供应商',
        path: '/supplierInfoController/edit/:random',
        component: '@/pages/SupplierManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '查看供应商',
        path: '/supplierInfoController/getSupplierById/{id}/:random',
        component: '@/pages/SupplierManage/mview/DetailView',
        isHaveParams: true,
      },

      {
        title: '联系人管理',
        path: '/contactsController/manage',
        component: '@/pages/ContactsManage/mview/ManageView',
      },

      /* --------------------------------------- 供应商管理 END ------------------------------ */
      /* --------------------------------------- 物料管理 START ---------------------------- */
      {
        title: '物料管理',
        path: '/materialController/manage',
        component: '@/pages/PurchaseManage/MaterialManage/mview/ManageView',
      },
      /* --------------------------------------- 物料管理 END ------------------------------ */
      /* --------------------------------------- 专家库管理 START ------------------------------ */
      {
        title: '专家库管理',
        path: '/expertInfoController/manage',
        component: '@/pages/ExpertsManage/mview/ManageView',
      },
      {
        title: '添加专家',
        path: '/expertInfoController/addExpert/:random',
        component: '@/pages/ExpertsManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '编辑专家',
        path: '/expertInfoController/editExpert/:random',
        component: '@/pages/ExpertsManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '查看专家',
        path: '/expertInfoController/getExpertDetails/{id}/:random',
        component: '@/pages/ExpertsManage/mview/UpdateView',
        isHaveParams: true,
      },
      /* --------------------------------------- 专家库管理 END ------------------------------ */
      /* --------------------------------------- 月度计划 START ------------------------------ */
      {
        title: '月度计划',
        path: '/needController/manage',
        component: '@/pages/PurchaseManage/NeedManage/mview/ManageView',
      },
      {
        title: '计划编制', // 添加
        path: '/purchaseNeedController/add/:random',
        component: '@/pages/PurchaseManage/NeedManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '计划详情', // 详情
        path: '/purchaseNeedController/getPurchaseNeedByID/{id}/{currentUserID}/:random',
        component: '@/pages/PurchaseManage/NeedManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '计划详情', // 编辑
        path: '/purchaseNeedController/edit/:random',
        component: '@/pages/PurchaseManage/NeedManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '计划详情',
        path: '/purchaseNeedMaterialController/check/:random',
        component: '@/pages/PurchaseManage/NeedManage/mview/SyncTableView',
        isHaveParams: true,
      },
      {
        title: '计划详情',
        path: '/purchaseNeedMaterialController/dataGrid/{params}/:random',
        component: '@/pages/PurchaseManage/NeedManage/mview/SyncTableView',
        isHaveParams: true,
      },
      {
        title: '月度计划审核',
        path: '/purchaseNeedController/dealHomePage/:random',
        component: '@/pages/PurchaseManage/NeedManage/OAMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      /* --------------------------------------- 需求管理 END ------------------------------ */
      /* ---------------------------------------采购系统-计划管理 START ------------------------------ */
      {
        title: '计划管理',
        path: '/planController/manage',
        component: '@/pages/PurchaseManage/PlanManage/mview/ManageView',
      },
      {
        title: '计划详情',
        path: '/purchasePlanController/getPlanDetails/:random',
        component: '@/pages/PurchaseManage/PlanManage/mview/DetailsView',
        isHaveParams: true,
      },
      /* ---------------------------------------采购系统-计划管理 END ------------------------------ */
      /* ---------------------------------------采购系统-计划管理 START ------------------------------ */
      {
        title: '采购任务',
        path: '/purchaseController/taskManage',
        component: '@/pages/PurchaseManage/PurchaseTask/mview/ManageView',
        isHaveParams: true,
      },
      /* ---------------------------------------采购系统-计划管理 END ------------------------------ */
      /* ---------------------------------------采购系统-申请管理 START ------------------------------ */
      {
        title: '采购申请',
        path: '/purchaseApplyController/manage',
        component: '@/pages/PurchaseManage/ApplyManage/mview/ManageView',
      },
      {
        title: '采购申请',
        path: '/purchaseApplyController/addApply/:random',
        component: '@/pages/PurchaseManage/ApplyManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '采购申请',
        path: '/purchaseApplyController/editApply/:random',
        component: '@/pages/PurchaseManage/ApplyManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '采购申请详情',
        path: '/purchaseApplyController/getApplyDetails/{id}/{currentUserID}/:random',
        component: '@/pages/PurchaseManage/ApplyManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '采购申请审核',
        path: '/purchaseApplyController/dealHomePage/:random',
        component: '@/pages/PurchaseManage/ApplyManage/OAMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      /* ---------------------------------------采购系统-申请管理 END ------------------------------ */

      /* ---------------------------------------采购系统-变更采购方式 START ------------------------------ */
      {
        title: '变更采购方式管理',
        path: '/changeProcurementMethodController/manage',
        component: '@/pages/PurchaseManage/ProcurementMethodManage/mview/ManageView',
      },
      {
        title: '变更采购方式',
        path: '/purchaseSourceChangeController/add/:random',
        component: '@/pages/PurchaseManage/ApplyManage/mview/UpdateChangeMothed',
        isHaveParams: true,
      },
      {
        title: '变更采购方式',
        path: '/purchaseSourceChangeController/edit/:random',
        component: '@/pages/PurchaseManage/ApplyManage/mview/UpdateChangeMothed',
        isHaveParams: true,
      },
      {
        title: '变更采购方式详情',
        path: '/purchaseSourceChangeController/getSourceChangeById/{id}/{currentUserID}/:random',
        component: '@/pages/PurchaseManage/ApplyManage/mview/UpdateChangeMothed',
        isHaveParams: true,
      },
      {
        title: '采购方式变更审核',
        path: '/purchaseSourceChangeController/dealHomePage/:random',
        component: '@/pages/PurchaseManage/ProcurementMethodManage/OAMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      /* ---------------------------------------采购系统-申变更采购方式请管理 END ------------------------------ */

      /* ---------------------------------------采购系统-文件编制 START ------------------------------ */
      {
        title: '招标文件编制',
        path: '/documentationController/manage',
        component: '@/pages/PurchaseManage/DocumentationManage/mview/ManageView',
      },
      {
        title: '招标文件编制',
        path: '/purchaseSourceController/editSource/:random',
        component: '@/pages/PurchaseManage/DocumentationManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '招标文件编制详情',
        path: '/purchaseSourceController/getSourceById/{id}/{currentUserID}/:random',
        component: '@/pages/PurchaseManage/DocumentationManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '招标文件编制审核',
        path: '/purchaseSourceController/dealHomePage/:random',
        component: '@/pages/PurchaseManage/DocumentationManage//OAMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      /* ---------------------------------------采购系统-文件编制 END ------------------------------ */
      /* ---------------------------------------采购系统-寻源管理 START ------------------------------ */
      {
        title: '采购实施管理',
        path: '/sourceController/manage',
        component: '@/pages/PurchaseManage/SourceManage/mview/ManageView',
        isHaveParams: true,
      },
      /** 招标公告 - 功能操作 */
      {
        title: '采购实施',
        path: '/purchaseSourceController/addBid/:random',
        component: '@/pages/PurchaseManage/SourceManage/mview/UpdateViewBox',
        isHaveParams: true,
      },
      /** 澄清修改 - 功能操作 */
      {
        title: '采购实施',
        path: '/purchaseSourceClarifyController/add/:random',
        component: '@/pages/PurchaseManage/SourceManage/mview/UpdateViewBox',
        isHaveParams: true,
      },
      /** 开评标 - 功能操作 */
      {
        title: '采购实施',
        path: '/purchaseSourceSupplierController/add/:random',
        component: '@/pages/PurchaseManage/SourceManage/mview/UpdateViewBox',
        isHaveParams: true,
      },
      /** 定标 - 功能操作 */
      {
        title: '采购实施',
        path: '/purchaseSourceCalibrateController/addSourceCalibrate/:random',
        component: '@/pages/PurchaseManage/SourceManage/mview/UpdateViewBox',
        isHaveParams: true,
      },
      {
        title: '采购实施',
        path: '/purchaseSourceController/addSource/:random',
        component: '@/pages/PurchaseManage/SourceManage/mview/UpdateViewBox',
        isHaveParams: true,
      },
      {
        title: '采购实施详情', //进入的是招标公告页面
        path: '/purchaseSourceController/getBidById/:random',
        component: '@/pages/PurchaseManage/SourceManage/mview/UpdateViewBox',
        isHaveParams: true,
      },
      {
        title: '招标澄清审核',
        path: '/purchaseSourceClarifyController/dealHomePage/:random',
        component: '@/pages/PurchaseManage/SourceManage/OAMview/ClarificationOAMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      {
        title: '定标审核',
        path: '/purchaseSourceCalibrateController/dealHomePage/:random',
        component: '@/pages/PurchaseManage/SourceManage/OAMview/CalibrateOAMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      /* ---------------------------------------采购系统-寻源管理 END ------------------------------ */
      /* ---------------------------------------采购系统-评标委员会管理 START ------------------------------ */
      {
        title: '采购评标代表管理',
        path: '/purchaseSourceExpertController/manage',
        component: '@/pages/PurchaseManage/BidevaluationManage/mview/ManageView',
      },
      {
        title: '采购评标代表',
        path: '/purchaseSourceExpertController/addRepresentative/:random',
        component: '@/pages/PurchaseManage/BidevaluationManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '采购评标代表',
        path: '/purchaseSourceExpertController/editRepresentative/:random',
        component: '@/pages/PurchaseManage/BidevaluationManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '采购评标代表',
        path: '/purchaseSourceExpertController/getSourceExpertById/{id}/{currentUserID}/:random',
        component: '@/pages/PurchaseManage/BidevaluationManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '采购评标代表审核',
        path: '/purchaseSourceExpertController/dealHomePage/:random',
        component: '@/pages/PurchaseManage/BidevaluationManage/OAMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      /* ---------------------------------------采购系统-评标委员会管理 END ------------------------------ */
      /* ---------------------------------------采购系统-寻源意向公开管理 START ------------------------------ */
      {
        title: '意向公开管理',
        path: '/sourceIntentionController/manage',
        component: '@/pages/PurchaseManage/SourceIntentionManage/mview/ManageView',
      },
      {
        title: '意向公开',
        path: '/purchaseSourceIntentController/add/:random',
        component: '@/pages/PurchaseManage/ApplyManage/mview/UpdateIntent',
        isHaveParams: true,
      },
      {
        title: '意向公开',
        path: '/purchaseSourceIntentController/edit/:random',
        component: '@/pages/PurchaseManage/ApplyManage/mview/UpdateIntent',
        isHaveParams: true,
      },
      {
        title: '意向公开详情',
        path: '/purchaseSourceIntentController/getIntentById/{id}/{currentUserID}/:random',
        component: '@/pages/PurchaseManage/ApplyManage/mview/UpdateIntent',
        isHaveParams: true,
      },
      {
        title: '意向公开审核',
        path: '/purchaseSourceIntentController/dealHomePage/:random',
        component: '@/pages/PurchaseManage/SourceIntentionManage/OAMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      /* ---------------------------------------采购系统-寻源意向公开管理 END ------------------------------ */
      /* ---------------------------------------采购系统-寻源中标公告管理 START ------------------------------ */
      {
        title: '中标公告管理',
        path: '/sourceBidderController/manage',
        component: '@/pages/PurchaseManage/SourceBidderManage/mview/ManageView',
      },
      {
        title: '查看中标公告',
        path: '/sourceBidderController/view/:random',
        component: '@/pages/PurchaseManage/SourceBidderManage/mview/UpdateView',
      },
      /* ---------------------------------------采购系统-寻源中标公告管理 END ------------------------------ */
      /* ---------------------------------------采购系统-采购规则管理 START ------------------------------ */
      {
        title: '采购规则管理',
        path: '/purchaseRuleController/manage',
        component: '@/pages/PurchaseManage/RuleManage/mview/ManageView',
      },
      {
        title: '添加采购规则',
        path: '/purchaseStyleRuleController/add/:random',
        component: '@/pages/PurchaseManage/RuleManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '编辑采购规则',
        path: '/purchaseRuleController/edit/:random',
        component: '@/pages/PurchaseManage/RuleManage/mview/UpdateView',
        isHaveParams: true,
      },
      /* ---------------------------------------采购系统-采购规则管理 END ---------------------------- */

      /* ---------------------------------------采购系统-采购统计 START ---------------------------- */
      {
        title: '采购申请统计',
        path: '/purchaseReportController/applyManage',
        component: '@/pages/PurchaseManage/PurchaseStatistics/PurchaseApplyStatistics/mview/StatisticsManageView',
      },
      {
        title: '采购供应商统计',
        path: '/purchaseReportController/supplierManage',
        component: '@/pages/PurchaseManage/PurchaseStatistics/PurchaseSupplierStatistics/mview/StatisticsManageView',
      },
      /* ---------------------------------------采购系统-采购统计 END ------------------------------ */

      /* ---------------------------------------资产系统-资产管理 START ------------------------------ */
      /* ---------------------------------------资产系统-我的资产 START ------------------------------ */
      {
        title: '我的资产',
        path: '/myAssetController/manage',
        component: '@/pages/AssetManage/MyAssetList/mview/ManageView',
      },
      {
        title: '资产详情',
        path: '/myAssetInfo/detail/:random',
        component: '@/pages/AssetManage/MyAssetList/mview/ManageView',
        isHaveParams: true,
      },
      /* ---------------------------------------资产系统-我的资产 END ------------------------------ */

      /* ---------------------------------------资产系统-资产清单 START ------------------------------ */
      {
        title: '资产清单',
        path: '/assetController/manage',
        component: '@/pages/AssetManage/AssetList/mview/ManageView',
      },
      {
        title: '资产详情',
        path: '/assetInfo/detail/:random',
        component: '@/pages/AssetManage/MyAssetList/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '编辑资产',
        path: '/assetInfo/edit/:random',
        component: '@/pages/AssetManage/MyAssetList/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '资产组合',
        path: '/assetInfo/resultant/:random',
        component: '@/pages/AssetManage/AssetList/mview/UpdateView',
        isHaveParams: true,
      },
      /* ---------------------------------------资产系统-资产清单 END ------------------------------ */

      /* ---------------------------------------资产系统-领用退库 START ---------------------------- */
      {
        title: '领用/退库',
        path: '/useAsReturnController/manage',
        component: '@/pages/AssetManage/Assetmanagement/UseAsReturn/mview/ManageView',
      },
      {
        title: '新增领用/退库',
        path: '/assetApplyUes/add/:random',
        component: '@/pages/AssetManage/Assetmanagement/UseAsReturn/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '领用/退库详情',
        path: '/assetApplyUes/detail/{id}/{currentUserID}/:random',
        component: '@/pages/AssetManage/Assetmanagement/UseAsReturn/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '编辑领用/退库',
        path: '/assetApplyUes/edit/:random',
        component: '@/pages/AssetManage/Assetmanagement/UseAsReturn/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '领用/退库详情',
        path: '/assetApplyReturn/detail/{id}/{currentUserID}/:random',
        component: '@/pages/AssetManage/Assetmanagement/UseAsReturn/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '编辑领用/退库',
        path: '/assetApplyReturn/edit/:random',
        component: '@/pages/AssetManage/Assetmanagement/UseAsReturn/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '领用/退库审核',
        path: '/assetApplyUes/dealHomePage/:random',
        component: '@/pages/AssetManage/Assetmanagement/UseAsReturn/OAUseMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      {
        title: '领用/退库审核',
        path: '/assetApplyReturn/dealHomePage/:random',
        component: '@/pages/AssetManage/Assetmanagement/UseAsReturn/OAReturnMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      // {
      //   title: '新增资产退库',
      //   path: '/assetApplyReturn/add/:random',
      //   component: '@/pages/AssetManage/Assetmanagement/useAsReturn/mview/UpdateReturnView',
      //   isHaveParams: true,
      // },
      // {
      //   title: '资产领用详情',
      //   path: '/assetApply/ues/detail/:random',
      //   component: '@/pages/AssetManage/Assetmanagement/useAsReturn/mview/UpdateView',
      // },
      // {
      //   title: '编辑资产领用',
      //   path: '/assetApply/ues/edit/:random',
      //   component: '@/pages/AssetManage/Assetmanagement/useAsReturn/mview/UpdateView',
      // },
      /* ---------------------------------------资产系统-领用退库 END ------------------------------ */

      /* ---------------------------------------资产系统-资产交接 START ---------------------------- */
      {
        title: '资产交接',
        path: '/assetTransferController/manage',
        component: '@/pages/AssetManage/AssetTransfer/mview/ManageView',
      },
      {
        title: '新增资产交接',
        path: '/assetApplyAllot/add/:random',
        component: '@/pages/AssetManage/AssetTransfer/mview/UpdataView',
        isHaveParams: true,
      },
      {
        title: '编辑资产交接',
        path: '/assetApplyAllot/edit/:random',
        component: '@/pages/AssetManage/AssetTransfer/mview/UpdataView',
        isHaveParams: true,
      },
      {
        title: '资产交接详情',
        path: '/assetApplyAllot/detail/{id}/{currentUserID}/:random',
        component: '@/pages/AssetManage/AssetTransfer/mview/UpdataView',
        isHaveParams: true,
      },
      {
        title: '资产交接审核',
        path: '/assetApplyAllot/dealHomePage/:random',
        component: '@/pages/AssetManage/AssetTransfer/OAMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      /* ---------------------------------------资产系统-资产交接 END ------------------------------ */

      /* ---------------------------------------资产系统-资产退库 START ---------------------------- */
      // {
      //   title: '资产退库',
      //   path: '/assetreturninventory/manage',
      //   component: '@/pages/AssetManage/Assetmanagement/Assetreturninventory/mview/ManageView',
      // },
      // {
      //   title: '添加资产退库',
      //   path: '/assetApply/return/add/:random',
      //   component: '@/pages/AssetManage/Assetmanagement/Assetreturninventory/mview/UpdataModal',
      //   isHaveParams: true,
      // },
      // {
      //   title: '编辑资产退库',
      //   path: '/assetApply/return/edit/:random',
      //   component: '@/pages/AssetManage/Assetmanagement/Assetreturninventory/mview/UpdataModal',
      //   isHaveParams: true,
      // },
      // {
      //   title: '资产退库详情',
      //   path: '/assetApply/return/detail/:random',
      //   component: '@/pages/AssetManage/Assetmanagement/Assetreturninventory/mview/UpdataModal',
      //   isHaveParams: true,
      // },
      /* ---------------------------------------资产系统-资产退库 END ---------------------------- */

      /* ---------------------------------------资产系统-库存调剂 START ------------------------------ */
      {
        title: '库存调剂',
        path: '/assetAllotController/manage',
        component: '@/pages/AssetManage/Assetmanagement/AssetAllot/mview/ManageView',
      },
      {
        title: '新增库存调剂',
        path: '/assetApplyTransfer/add/:random',
        component: '@/pages/AssetManage/Assetmanagement/AssetAllot/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '编辑库存调剂',
        path: '/assetApplyTransfer/edit/:random',
        component: '@/pages/AssetManage/Assetmanagement/AssetAllot/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '库存调剂详情',
        path: '/assetApplyTransfer/detail/{id}/{currentUserID}/:random',
        component: '@/pages/AssetManage/Assetmanagement/AssetAllot/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '库存调剂审核',
        path: '/assetApplyTransfer/dealHomePage/:random',
        component: '@/pages/AssetManage/Assetmanagement/AssetAllot/OAMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      /* ---------------------------------------资产系统-库存调剂 END ------------------------------ */

      /* ---------------------------------------资产系统-材料转资产 START ---------------------------- */
      {
        title: '材料转资产',
        path: '/toAssetController/manage',
        component: '@/pages/AssetManage/ToAssetController/mview/ManageView',
      },
      {
        title: '材料转资产详情',
        path: '/assetApplyStuffasset/detail/{id}/{currentUserID}/:random',
        component: '@/pages/AssetManage/ToAssetController/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '新增材料转资产',
        path: '/assetApplyStuffasset/add/:random',
        component: '@/pages/AssetManage/ToAssetController/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '编辑材料转资产',
        path: '/assetApplyStuffasset/edit/:random',
        component: '@/pages/AssetManage/ToAssetController/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '材料转资产审核',
        path: '/assetApplyStuffasset/dealHomePage/:random',
        component: '@/pages/AssetManage/ToAssetController/OAMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      /* ---------------------------------------资产系统-材料转资产 END ------------------------------ */

      /* ---------------------------------------资产系统-资产报废 START ---------------------------- */
      {
        title: '资产报废',
        path: '/assetDiscardController/manage',
        component: '@/pages/AssetManage/AssetDiscardManage/mview/ManageView',
      },
      {
        title: '新增资产报废',
        path: '/assetApplyHandle/add/:random',
        component: '@/pages/AssetManage/AssetDiscardManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '编辑资产报废',
        path: '/assetApplyHandle/edit/:random',
        component: '@/pages/AssetManage/AssetDiscardManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '资产报废详情',
        path: '/assetApplyHandle/detail/{id}/{currentUserID}/:random',
        component: '@/pages/AssetManage/AssetDiscardManage/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '资产报废审核',
        path: '/assetApplyHandle/dealHomePage/:random',
        component: '@/pages/AssetManage/AssetDiscardManage/OAMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      /* ---------------------------------------资产系统-资产报废 END -------------------------------- */

      {
        title: '我的流程',
        path: '/myprocess/manage',
        component: '@/pages/AssetManage/Assetmanagement/Myprocess/mview/ManageView',
      },
      /* ---------------------------------------资产系统-资产管理 END -------------------------------- */

      /* ---------------------------------------资产管理-盘点管理 START ------------------------------ */
      {
        title: '盘点计划',
        path: '/inventoryPlanController/manage',
        component: '@/pages/AssetManage/InventoryManage/Inventoryplan/mview/ManageView',
      },
      {
        title: '盘点计划详情',
        path: '/assetInventory/details/:random',
        component: '@/pages/AssetManage/InventoryManage/Inventoryplan/mview/UpdataView',
        isHaveParams: true,
      },
      {
        title: '盘点计划审核',
        path: '/assetInventory/dealHomePage/:random',
        component: '@/pages/AssetManage/InventoryManage/Inventoryplan/OAMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      {
        title: '编辑盘点计划',
        path: '/assetInventory/edit/:random',
        component: '@/pages/AssetManage/InventoryManage/Inventoryplan/mview/UpdataView',
        isHaveParams: true,
      },
      {
        title: '新增盘点计划',
        path: '/assetInventory/add/:random',
        component: '@/pages/AssetManage/InventoryManage/Inventoryplan/mview/UpdataView',
        isHaveParams: true,
      },
      {
        title: '盘点汇报',
        path: '/inventorySummaryController/manage',
        component: '@/pages/AssetManage/InventoryManage/Inventorysummary/mview/ManageView',
      },
      {
        title: '新增盘点汇报',
        path: '/assetInventoryDifference/add/:random',
        component: '@/pages/AssetManage/InventoryManage/Inventorysummary/mview/UpdataView',
        isHaveParams: true,
      },
      {
        title: '编辑盘点汇报',
        path: '/assetInventoryDifference/edit/:random',
        component: '@/pages/AssetManage/InventoryManage/Inventorysummary/mview/UpdataView',
        isHaveParams: true,
      },
      {
        title: '盘点汇报详情',
        path: '/assetInventoryDifference/details/:random',
        component: '@/pages/AssetManage/InventoryManage/Inventorysummary/mview/UpdataView',
        isHaveParams: true,
      },
      {
        title: '盘点汇报审核',
        path: '/assetInventoryDifference/dealHomePage/:random',
        component: '@/pages/AssetManage/InventoryManage/Inventorysummary/OAMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      {
        title: '盘盈汇总',
        path: '/inventorySurplusController/manage',
        component: '@/pages/AssetManage/InventoryManage/Inventorysurplus/mview/ManageView',
      },
      {
        title: '新增盘盈',
        path: '/inventorysurplus/add/:random',
        component: '@/pages/AssetManage/InventoryManage/Inventorysurplus/mview/UpdataModal',
        isHaveParams: true,
      },
      {
        title: '盘亏汇总',
        path: '/inventoryLossController/manage',
        component: '@/pages/AssetManage/InventoryManage/Inventoryloss/mview/ManageView',
      },
      {
        title: '新增盘亏',
        path: '/inventoryloss/add/:random',
        component: '@/pages/AssetManage/InventoryManage/Inventoryloss/mview/UpdataModal',
        isHaveParams: true,
      },
      /* ---------------------------------------资产管理-盘点管理 END -------------------------------- */

      /* ---------------------------------------资产管理-统计分析 START ------------------------------ */
      {
        title: '统计报表',
        path: '/statistic/manage',
        component: '@/pages/AssetManage/Statisticanalysis/StatisticTable/mview/ManageView',
      },
      {
        title: '新增资产统计',
        path: '/addStatistic/manage',
        component: '@/pages/AssetManage/Statisticanalysis/AddStatisticTable/mview/ManageView',
      },
      {
        title: '减少资产统计',
        path: '/reduceStatistic/manage',
        component: '@/pages/AssetManage/Statisticanalysis/ReduceStatisticTable/mview/ManageView',
      },
      {
        title: '折旧资产统计',
        path: '/depreciationasset/manage',
        component: '@/pages/AssetManage/Statisticanalysis/Depreciationasset/mview/ManageView',
      },
      /* ---------------------------------------资产管理-统计分析 END -------------------------------- */

      /* ---------------------------------------资产管理-资产维保 START ------------------------------ */
      {
        title: '资产维保',
        path: '/assetMaintenanceController/manage',
        component: '@/pages/AssetManage/MaintenanceManage/mview/ManageView',
      },
      {
        title: '资产维保详情',
        path: '/assetMainten/detail/{id}/{currentUserID}/:random',
        component: '@/pages/AssetManage/MaintenanceManage/mview/UpdataView',
        isHaveParams: true,
      },
      {
        title: '新增资产维保',
        path: '/assetMainten/add/:random',
        component: '@/pages/AssetManage/MaintenanceManage/mview/UpdataView',
        isHaveParams: true,
      },
      {
        title: '编辑资产维保',
        path: '/assetMainten/edit/:random',
        component: '@/pages/AssetManage/MaintenanceManage/mview/UpdataView',
        isHaveParams: true,
      },
      {
        title: '资产维保审核',
        path: '/assetMainten/dealHomePage/:random',
        component: '@/pages/AssetManage/MaintenanceManage/OAMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      /* ---------------------------------------资产管理-资产维保 END ------------------------------ */

      /* ---------------------------------------资产管理-资产信息变更 START ------------------------------ */
      {
        title: '资产信息变更',
        path: '/assetChangeController/manage',
        component: '@/pages/AssetManage/assetChangeController/mview/ManageView',
        // isHaveParams: true
      },
      {
        title: '资产信息变更详情',
        path: '/assetApplyChange/detail/{id}/{currentUserID}/:random',
        component: '@/pages/AssetManage/assetChangeController/mview/UpdataView',
        isHaveParams: true,
      },
      {
        title: '新增资产信息变更',
        path: '/assetApplyChange/add/:random',
        component: '@/pages/AssetManage/assetChangeController/mview/UpdataView',
        isHaveParams: true,
      },
      {
        title: '编辑资产信息变更',
        path: '/assetApplyChange/edit/:random',
        component: '@/pages/AssetManage/assetChangeController/mview/UpdataView',
        isHaveParams: true,
      },
      {
        title: '资产信息变更审核',
        path: '/assetApplyChange/dealHomePage/:random',
        component: '@/pages/AssetManage/assetChangeController/OAMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      /* ---------------------------------------资产管理-资产维保 END ------------------------------ */

      /* ---------------------------------------资产管理-资产折旧 START ------------------------------ */
      {
        title: '资产折旧',
        path: '/AssetDepreciationCalculationController/manage',
        component: '@/pages/AssetManage/AssetCalculationManange/mview/ManageView',
      },
      {
        title: '折旧明细',
        path: '/assetDepreciationCalculation/detail/:random',
        component: '@/pages/AssetManage/AssetCalculationManange/mview/DetailManageView',
        isHaveParams: true,
      },
      /* ---------------------------------------资产管理-资产折旧 END ------------------------------ */

      /* ---------------------------------------资产管理-仓储管理 START ------------------------------ */
      {
        title: '物资清单',
        path: '/materialAndAssetController/manage',
        component: '@/pages/AssetManage/MaterialAndAssetController/mview/ManageView',
      },
      {
        title: '废旧物资',
        path: '/wasteMaterialsController/manage',
        component: '@/pages/AssetManage/WasteMaterialsController/mview/ManageView',
      },

      /* ---------------------------------------资产系统-验收管理 START ------------------------------ */
      {
        title: '履约管理',
        path: '/acceptController/manage',
        component: '@/pages/AssetManage/Assetmanagement/AssetAccept/mview/ManageView',
      },
      {
        title: '新增履约记录',
        path: '/assetApplyStorage/add/:random',
        component: '@/pages/AssetManage/Assetmanagement/AssetAccept/mview/UpdateView',
      },
      {
        title: '履约记录详情',
        path: '/assetApplyStorage/detail/{id}/{currentUserID}/:random',
        component: '@/pages/AssetManage/Assetmanagement/AssetAccept/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '编辑履约记录',
        path: '/assetApplyStorage/edit/:random',
        component: '@/pages/AssetManage/Assetmanagement/AssetAccept/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '履约记录审核',
        path: '/assetApplyStorage/dealHomePage/:random',
        component: '@/pages/AssetManage/Assetmanagement/AssetAccept/OAMview/DetailInfoViewOA',
        isHaveParams: true,
      },
      /* ---------------------------------------资产系统-验收管理 END ------------------------------ */

      /* ---------------------------------------资产系统-入库登记 START ------------------------------ */
      {
        title: '入库登记',
        path: '/assetStorage/manage',
        component: '@/pages/AssetManage/Assetmanagement/EnterStoreController/mview/ManageView',
      },
      {
        title: '新增入库登记',
        path: '/assetStorage/add/:random',
        component: '@/pages/AssetManage/Assetmanagement/EnterStoreController/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '编辑入库登记',
        path: '/assetStorage/edit/:random',
        component: '@/pages/AssetManage/Assetmanagement/EnterStoreController/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '入库登记详情',
        path: '/assetStorage/details/{currentUserID}/:random',
        component: '@/pages/AssetManage/Assetmanagement/EnterStoreController/mview/UpdateView',
        isHaveParams: true,
      },
      {
        title: '入库登记审核',
        path: '/assetStorage/dealHomePage/:random',
        component: '@/pages/AssetManage/Assetmanagement/EnterStoreController/OAMview/DetailInfoViewOA',
      },
      /* ---------------------------------------资产系统-入库登记 END ------------------------------ */

      /* ---------------------------------------资产管理-出入库记录 START ------------------------------ */
      {
        title: '出入库记录',
        path: '/recordController/manage',
        component: '@/pages/AssetManage/OutInRecord/mview/ManageView',
      },
      /* ---------------------------------------资产管理-出入库记录 END ------------------------------ */

      /* ---------------------------------------资产管理-仓库管理 START ---------------------------- */
      {
        title: '仓库管理',
        path: '/storeController/manage',
        component: '@/pages/AssetManage/Standardization/Warehousemanagement/mview/ManageView',
      },
      {
        title: '添加仓库管理',
        path: '/assetStore/add/:random',
        component: '@/pages/AssetManage/Standardization/Warehousemanagement/mview/UpdataModal',
        isHaveParams: true,
      },
      {
        title: '编辑仓库管理',
        path: '/assetStore/edit/:random',
        component: '@/pages/AssetManage/Standardization/Warehousemanagement/mview/UpdataModal',
        isHaveParams: true,
      },
      /* ---------------------------------------资产管理-仓库管理 END ------------------------------ */

      /* ---------------------------------------资产管理-仓储管理 END ------------------------------ */

      /* ---------------------------------------资产管理-统计分析 END ------------------------------ */
      {
        title: '资产分类汇总',
        path: '/assetTypeCountController/manage',
        component: '@/pages/AssetManage/Sanalysis/Assetclass/mview/ManageView',
      },
      {
        title: '单位部门汇总',
        path: '/deptCountController/manage',
        component: '@/pages/AssetManage/Sanalysis/Companydepart/mview/ManageView',
      },
      {
        title: '折旧粗算表',
        path: '/depreciationCountController/manage',
        component: '@/pages/AssetManage/Sanalysis/Depretable/mview/ManageView',
      },
      {
        title: '维保到期统计',
        path: '/maintenanceCountController/manage',
        component: '@/pages/AssetManage/Sanalysis/Mainexpires/mview/ManageView',
      },
      {
        title: '临期资产统计',
        path: '/adventCountController/manage',
        component: '@/pages/AssetManage/Sanalysis/Interimasset/mview/ManageView',
      },
      {
        title: '新增资产统计',
        path: '/addAssetCountController/manage',
        component: '@/pages/AssetManage/Sanalysis/Newasset/mview/ManageView',
      },
      {
        title: '报废资产统计',
        path: '/discardAssetCountController/manage',
        component: '@/pages/AssetManage/Sanalysis/Scrapasset/mview/ManageView',
      },
      {
        title: '资产类别折旧',
        path: '/assetDeprecitionClassController/manage',
        component: '@/pages/AssetManage/Sanalysis/AssetDeprecitionClass/mview/ManageView',
      },
      {
        title: '资产折旧分摊',
        path: '/assetDeprecitionController/manage',
        component: '@/pages/AssetManage/Sanalysis/AssetDeprecition/mview/ManageView',
      },
    ],
  },
];

export { routes };
